<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app"></div>
    <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
    <script>
        //Vue相关代码
        const why={
            template:'<h2>Hello Word</h2>'
        }
        // const app =Vue.createApp(对象)
        const app =Vue.createApp(why)
        //将app挂载到id为app的div上
        app.mount('#app')
    </script>

</body>
</html>
